package com.ushine.web.communication.websocket;
/*
 * 页面调试
 * initWebSocket: function() {
 *         let socket = new SockJS('http://172.16.1.103:8888/ws/endpointWisely');
 *         let stompClient = Stomp.over(socket);
 *         this.stompClient = stompClient
 *         stompClient.connect({}, function(frame) {
 *           stompClient.subscribe('/topic/getResponse', function(message) {
 *             console.warn(JSON.parse(message.body));
 *           });
 *
 *           stompClient.subscribe('/user/d892bf12bf7d11e793b69c5c8e6f60fb/msg', function(message) {
 *             console.warn("点对点的信息：");
 *             console.warn(JSON.parse(message.body));
 *           });
 *
 *           stompClient.subscribe('/user/123456/msg', function(message) {
 *             console.warn("点对点的信息：");
 *             console.warn(JSON.parse(message.body));
 *           });
 *
 *           this.stompClient.send('/sys/send/d892bf12bf7d11e793b69c5c8e6f60fb', {}, JSON.stringify({
 *             name: '测试',
 *             content: '测试content'
 *           }));
 *
 *         })
 *       },
 */
